home *** CD-ROM | disk | FTP | other *** search
/ Collection of Tools & Utilities / Collection of Tools and Utilities.iso / edit / tde40.zip / tde.cfg < prev    next >
Text File  |  1994-06-05  |  18KB  |  527 lines

  1. ;
  2. ;                      TDE, the Thomson-Davis Editor
  3. ;                               Version 4.0
  4. ;                               June 5, 1994
  5. ;                               Frank Davis
  6. ;
  7. ;
  8. ;
  9. ; These are the default function key, mode, and color assignments in
  10. ;   the distribution version of tde, version 4.0.  Please feel free to
  11. ;   change/modify these function assignments to suite your tastes.
  12. ;
  13. ;
  14. ;   s+  ==  Shift+     c+ == Control+     a+ == Alt+   s+a+  ==  Shift+Alt+
  15. ;
  16. ;
  17. ; Comments begin with a semicolon.
  18. ;
  19. ; Case is not significant for key names or function names.
  20. ;
  21. ;
  22. ; Oops, I forgot to document the two-key, WordStar-like key assigments in
  23. ;   previous versions of TDE:
  24. ;
  25. ;           1st key   2nd key    function
  26. ;           -------   -------    --------
  27. ;            c+k      TwoCharKey                      ; first, tell TDE
  28. ;            c+k        q        Quit                 ; next, assign as many
  29. ;            c+k        w        SplitHorizontal      ;    two-keys as desired.
  30. ;
  31. ; To define a macro, use the Macro function assignment followed by the keys
  32. ;   in the macro.  In tde, macros are simple keyboard macros.  Define the
  33. ;   macros as if you were entering keys from the keyboard.  Literals should
  34. ;   be enclosed by double quotes.  Place all of the macro definition on one
  35. ;   line.  Lines may be up to 1000 characters long.  Recursive macro
  36. ;   definitions are allowed.  Here are a few macro examples:
  37. ;
  38. ;
  39. ; This macro splits the screen and loads in a custom help file when Alt+5 is
  40. ;   pressed.
  41. ;
  42. ; a+5         Macro  Center f9 s+f4 "myhelp.hlp" enter
  43. ;
  44. ;
  45. ; This simple recursive macro moves the cursor down until the eof is reached.
  46. ;   The last key in the macro definition calls itself.
  47. ;
  48. ; a+6         Macro down a+6
  49. ;
  50. ;
  51. ; In some instances, you may want to wipe out any previously assigned
  52. ;   macro.  For example, you may have saved a macro file in tde and now want
  53. ;   to erase a macro assigned to a key.  Use the Null function to clear a key.
  54. ;
  55. ; a+7         Null
  56. ;
  57. ;
  58. ; To assign ASCII or Extended ASCII characters to function keys, enclose the
  59. ;   character in quotes.
  60. ;
  61. ; s+a+A       Macro "ä"
  62. ;
  63. ; s+a+t       Macro "tde, the Thomson-Davis Editor"
  64. ;
  65. ;
  66. ; You may assign any editor function to any recognized function key with
  67. ;   no restrictions.  For example, the Enter key could be assigned to the
  68. ;   MarkBox function.  Additionally, No function is required to be assigned
  69. ;   to any key, e.g. you don't have to assign any function to the Enter key if
  70. ;   you don't want to.  One function may be assigned to several keys, but
  71. ;   one key may only be assigned to only one function.  If a key is assigned
  72. ;   to several functions, only the last function assignment has any effect.
  73. ;
  74. ; All of the 233 recognized function keys in tde are listed below.
  75.  
  76.  
  77. ;
  78. ; basic editing keys
  79. ;
  80. enter         Rturn                     ; Note: Rturn is not spelled with an e
  81. s+enter       NextLine                  ; first character in next line
  82. c+enter       BegNextLine               ; column 1 of nextline
  83. a+Enter
  84.  
  85. GreyEnter                               ; 101 keyboard on keypad
  86. s+GreyEnter                             ; 101 keyboard on keypad
  87. c+GreyEnter                             ; 101 keyboard on keypad
  88. a+GreyEnter                             ; 101 keyboard on keypad
  89.  
  90.  
  91. backspace     BackSpace
  92. s+backspace   BackSpace
  93. c+backspace
  94. a+backspace
  95.  
  96.  
  97. esc           AbortCommand
  98. s+esc
  99. c+esc         ClearAllMacros
  100. a+esc
  101.  
  102. tab           Tab
  103. s+tab         BackTab
  104. c+tab         SetTabs
  105. a+tab         ToggleSmartTabs
  106.  
  107. ;
  108. ; function keys
  109. ;
  110. f1            Help
  111. f2            Save
  112. f3            Quit
  113. f4            File
  114. f5            RepeatFindForward1
  115. f6            RepeatFindBackward1
  116. ;f7            RepeatDiff
  117. f7            RepeatFindRegX
  118. f8            SplitVertical
  119. f9            SplitHorizontal
  120. f10           NextWindow
  121. f11           RepeatDiff
  122. f12           RepeatGrep
  123.  
  124.  
  125. s+f1          SaveMacro
  126. s+f2          SaveAs
  127. s+f3          LoadMacro
  128. s+f4          EditFile
  129. s+f5          FindForward
  130. s+f6          FindBackward
  131. s+f7          FindRegX
  132. s+f8          ReplaceString
  133. s+f9          SizeWindow
  134. s+f10         PreviousWindow
  135. s+f11         DefineDiff
  136. s+f12         DefineGrep
  137.  
  138.  
  139. c+f1          ToggleSync
  140. c+f2          ToggleEol
  141. c+f3          ToggleCRLF
  142. c+f4          ToggleTrailing
  143. c+f5          ToggleSearchCase
  144. c+f6          SetLeftMargin
  145. c+f7          SetRightMargin
  146. c+f8          SetParagraphMargin
  147. c+f9          ZoomWindow
  148. c+f10         NextHiddenWindow
  149. c+f11
  150. c+f12         DefineRegxGrep
  151.  
  152.  
  153. a+f1          DirList
  154. a+f2          SetFileAttributes
  155. a+f3          RecordMacro
  156. a+f4          EditNextFile
  157. ; a+f5          RepeatFindForward2
  158. ; a+f6          RepeatFindBackward2
  159. a+f5          NextDirtyLine
  160. a+f6          PrevDirtyLine
  161. a+f7          FormatParagraph
  162. a+f8          LeftJustify
  163. a+f9          RightJustify
  164. a+f10         CenterJustify
  165. a+f11
  166. a+f12         RepeatFindRegX
  167.  
  168.  
  169. ;
  170. ; control cluster / keypad keys
  171. ;
  172. Home          BegOfLine
  173. End           EndOfLine
  174. Left          CharLeft
  175. Right         CharRight
  176. Up            LineUp
  177. Down          LineDown
  178. PgUp          ScreenUp
  179. PgDn          ScreenDown
  180. Ins           ToggleOverWrite
  181. Del           DeleteChar
  182. Center        CenterWindow              ; center is the center of the key pad
  183.  
  184. c+Home        TopOfScreen
  185. c+End         BotOfScreen
  186. c+Left        WordLeft
  187. c+Right       WordRight
  188. c+Up          ScrollUpLine
  189. c+Down        ScrollDnLine
  190. c+PgUp        TopOfFile
  191. c+PgDn        EndOfFile
  192. c+Ins
  193. c+Del         StreamDeleteChar
  194. c+Center      CenterLine
  195.  
  196.  
  197. a+GreyHome                              ; 101 keyboard
  198. a+GreyEnd                               ; 101 keyboard
  199. a+GreyLeft    PanLeft                   ; 101 keyboard
  200. a+GreyRight   PanRight                  ; 101 keyboard
  201. a+GreyUp      PanUp                     ; 101 keyboard
  202. a+GreyDown    PanDn                     ; 101 keyboard
  203. a+GreyPgUp    HorizontalScreenLeft      ; 101 keyboard
  204. a+GreyPgDn    HorizontalScreenRight     ; 101 keyboard
  205. a+GreyIns                               ; 101 keyboard
  206. a+GreyDel                               ; 101 keyboard
  207.  
  208. Grey+         ScrollDnLine              ; with Numlock off
  209. Grey-         ScrollUpLine              ; with Numlock off
  210.  
  211. c+Grey+       PanDn
  212. c+Grey-       PanUp
  213. c+Grey/       IfCapsLock                ; 101 keyboard
  214. c+Grey*       IfNotCapsLock             ; 101 keyboard
  215.  
  216. a+Grey/                                 ; 101 keyboard
  217.  
  218.  
  219. s+c+left      PanLeft
  220. s+c+right     PanRight
  221.  
  222.  
  223. ;
  224. ; Alt keys
  225. ;
  226. a+a           AddLine
  227. a+b           MarkBox
  228. a+c           CopyBlock
  229. a+d           DeleteLine
  230. a+e           BlockExpandTabs
  231. a+f           FillBlock
  232. a+g           DeleteBlock
  233. a+h           Help
  234. a+i           ToggleIndent
  235. a+j           JoinLine
  236. a+k           KopyBlock
  237. a+l           MarkLine
  238. a+m           MoveBlock
  239. a+n           NumberBlock
  240. a+o           OverlayBlock
  241. a+p           PrintBlock
  242. a+q           Quit
  243. a+r           ToggleRuler
  244. a+s           SortBoxBlock
  245. a+t           BlockTrimTrailing
  246. a+u           UnMarkBlock
  247. a+v           ToggleWordWrap
  248. a+w           BlockToFile
  249. a+x           MarkStream
  250. a+y           UndoDelete
  251. a+z           ToggleZ
  252.  
  253.  
  254. a+~
  255. a+1           SetMark1
  256. a+2           SetMark2
  257. a+3           SetMark3
  258. a+4
  259. a+5
  260. a+6
  261. a+7
  262. a+8
  263. a+9
  264. a+0
  265. a+-           DelEndOfLine
  266. a+=           DuplicateLine
  267.  
  268. a+;
  269. a+'
  270.  
  271. a+<           BlockUpperCase
  272. a+>           BlockLowerCase
  273. a+?           BlockStripHiBit
  274.  
  275. a+[
  276. a+]
  277.  
  278. ;
  279. ; Control keys, listed in order of appearance in standard ASCII tables
  280. ;
  281. c+@           DateTimeStamp             ; Control + at sign
  282. c+a           WordLeft
  283. c+b           FormatText
  284. c+c           ScreenDown
  285. c+d           CharRight
  286. c+e           LineUp
  287. c+f           WordRight
  288. c+g           DeleteChar
  289. c+h           BackSpace
  290. c+i           Tab
  291. c+j           Help
  292. c+k
  293. c+l
  294. c+m           Rturn
  295. c+n           AddLine
  296. c+o
  297. c+p           Pause
  298. c+q
  299. c+r           ScreenUp
  300. c+s           CharLeft
  301. c+t           WordDelete
  302. c+u